home *** CD-ROM | disk | FTP | other *** search
- object frmMain: TfrmMain
- Left = 310
- Top = 108
- Width = 640
- Height = 480
- Caption = 'City Distance Calculator 1.00'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- Menu = MainMenu1
- Position = poScreenCenter
- Scaled = False
- WindowState = wsMaximized
- OnCreate = FormCreate
- PixelsPerInch = 96
- TextHeight = 13
- object Panel1: TPanel
- Left = 0
- Top = 0
- Width = 201
- Height = 409
- Align = alLeft
- Caption = 'Panel1'
- TabOrder = 0
- object Splitter1: TSplitter
- Left = 1
- Top = 305
- Width = 199
- Height = 3
- Cursor = crVSplit
- Align = alTop
- end
- object Panel3: TPanel
- Left = 1
- Top = 1
- Width = 199
- Height = 40
- Align = alTop
- BevelOuter = bvLowered
- TabOrder = 0
- object Label1: TLabel
- Left = 8
- Top = 2
- Width = 94
- Height = 13
- Caption = 'Filter the list of cities'
- end
- object edtFilter: TEdit
- Left = 5
- Top = 16
- Width = 188
- Height = 21
- Hint = 'restict the list of cities'
- TabOrder = 0
- OnChange = edtFilterChange
- end
- end
- object lbxCities: TListBox
- Left = 1
- Top = 41
- Width = 199
- Height = 264
- Hint = 'Double Click or Drag to add waypoint cities'
- Align = alTop
- DragMode = dmAutomatic
- ItemHeight = 13
- Sorted = True
- TabOrder = 1
- OnDblClick = lbxCitiesDblClick
- end
- object grdWayPoints: TStringGrid
- Left = 1
- Top = 308
- Width = 199
- Height = 100
- Hint = 'Double click to remove'
- Align = alClient
- ColCount = 2
- DefaultRowHeight = 18
- FixedCols = 0
- RowCount = 2
- Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goDrawFocusSelected, goRowSelect, goThumbTracking]
- TabOrder = 2
- OnDblClick = grdWayPointsDblClick
- OnDragDrop = grdWayPointsDragDrop
- OnDragOver = grdWayPointsDragOver
- ColWidths = (
- 110
- 64)
- end
- end
- object pnlHint: TPanel
- Left = 0
- Top = 409
- Width = 632
- Height = 25
- Align = alBottom
- Alignment = taLeftJustify
- BevelInner = bvLowered
- TabOrder = 1
- object Panel4: TPanel
- Left = 451
- Top = 2
- Width = 179
- Height = 21
- Align = alRight
- BevelOuter = bvNone
- Caption = 'Panel4'
- TabOrder = 0
- object SpeedButton1: TSpeedButton
- Left = 1
- Top = 0
- Width = 66
- Height = 22
- Hint = 'Display as a 3D globe'
- GroupIndex = 1
- Down = True
- Caption = 'Spherical'
- Layout = blGlyphBottom
- OnClick = SpeedButton1Click
- end
- object SpeedButton2: TSpeedButton
- Left = 66
- Top = 0
- Width = 66
- Height = 22
- Hint = 'Display as a Mercator projection'
- GroupIndex = 1
- Caption = 'Mercator'
- Layout = blGlyphBottom
- OnClick = SpeedButton2Click
- end
- object btnWorld: TSpeedButton
- Left = 131
- Top = 0
- Width = 49
- Height = 22
- Hint = 'Zoom to the World Extents'
- AllowAllUp = True
- Caption = 'World'
- Layout = blGlyphBottom
- OnClick = btnWorldClick
- end
- end
- end
- object Globe: TGlobe
- Left = 201
- Top = 0
- Width = 431
- Height = 409
- Hint =
- 'Left Mouse to rotate and Right Mouse to Zoom, Left Mouse to sele' +
- 'ct a city'
- SelectedPen.Color = clRed
- SelectedBrush.Color = clYellow
- OnRender = GlobeRender
- OnSelected = GlobeSelected
- LongitudeStep = 15
- LatitudeStep = 15
- MouseSelectButton = mzbLeft
- MouseRotateButton = mzbLeft
- XRotationInDegs = 30
- YRotationInDegs = -90
- ZRotationInDegs = 0
- Projection = gpSpherical
- FontAngle = 0
- FontUnit = NauticalMile
- GlobeColor = clAqua
- Color = clBlack
- Align = alClient
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWhite
- Font.Height = -16
- Font.Name = 'Arial'
- Font.Style = []
- end
- object MainMenu1: TMainMenu
- Left = 302
- Top = 212
- object Exit1: TMenuItem
- Caption = '&Exit'
- end
- object About1: TMenuItem
- Caption = '&About'
- OnClick = About1Click
- end
- end
- end
-